package com.wutu.nbyjk8.controller;

import org.springframework.web.bind.WebDataBinder;
import org.springframework.web.bind.annotation.InitBinder;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: Addons
 * @Date: 2022-02-21 11:49
 * @Desc:
 */
@RestController
public class BaseController {
    @InitBinder
    public void initBinder(WebDataBinder binder) {
        binder.setDisallowedFields("test");
    }
}
